home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 3 / Gold Medal Software - Volume 3 (Gold Medal) (1994).iso / print / lj4utl13.arj / LJ4.DOC < prev    next >
Text File  |  1994-03-18  |  17KB  |  516 lines

  1.                              THE LJ4 UTILITY
  2.                             ─────────────────
  3.  
  4.                                Version 1.3
  5.  
  6.           Copyright (c) 1993, 1994 by TASsoft, All Rights Reserved
  7.  
  8.               Written by Tim Tschirner and Christoph Sundergeld
  9.  
  10.     Thank you for downloading and trying The LJ4 Utility!  Feel free to
  11.       pass a copy to all your friends and upload it to a BBS near you.
  12.  
  13.  
  14.  
  15.  ──────────
  16.   Contents
  17.  ──────────
  18.  
  19.  This archive should contain these files:
  20.  
  21.  LJ4.EXE      - The LJ4 Utility  (International Version)
  22.  LJ4.DOC      - English LJ4 Utility documentation
  23.  LJ4.REG      - International registration form for The LJ4 Utility
  24.  LJ4.REV      - English LJ4 Utility Revision History
  25.  LJ4_D.EXE    - The LJ4 Utility  (German Version)
  26.  LJ4_D.DOC    - German LJ4 Utility documentation
  27.  LJ4_D.REG    - German registration form for The LJ4 Utility
  28.  LJ4_D.REV    - German LJ4 Utility Revision History
  29.  
  30.  
  31. This documentation contains a description of The LJ4 Utility, a
  32. complete reference of all valid commands and values, tips on use of LJ4
  33. in Batch files, notes on the registration process and a legal
  34. disclaimer.  Please make sure you read the disclaimer!
  35.  
  36.  
  37.  
  38.  ─────────────
  39.   Description
  40.  ─────────────
  41.  
  42. The LJ4 Utility allows you to quickly change the settings of your
  43. LaserJet 4 family printer.  Now you can change for example your
  44. printer's papersize, the default typeface or EconoMode setting just by
  45. typing LJ4 and the corresponding command at the DOS prompt.  This
  46. minimizes the time needed for changing your printer's settings because
  47. you don't have to start the Hewlett-Packard remote control panel or
  48. walk to your printer to do so.
  49. All you need to use The LJ4 Utility is a PC and a Hewlett-Packard
  50. LaserJet 4 family printer connected to it.  There are no further
  51. hardware and software requirements.
  52.  
  53.  
  54.  
  55.  ──────────────
  56.   Installation
  57.  ──────────────
  58.  
  59. There is no installation procedure as such, just copy LJ4.EXE and
  60. the appropriate documentation into any directory on your hard disk
  61. that is in the DOS search path.  You way want to copy it to your
  62. EXPLORER or DOS directory.
  63.  
  64.  
  65.  
  66.  ───────────────────────
  67.   Using The LJ4 Utility
  68.  ───────────────────────
  69.  
  70. Using LJ4 is quite easy.  If you want to change a setting, just pass
  71. the command and the value to change on to LJ4.  The complete syntax is
  72. as follows:
  73.  
  74.     LJ4 Command Value [Port]
  75.  
  76.  Command  is a valid command, which must have at least three letters.
  77.  Value    is a legal value for the specified command.
  78.  Port     specifies the port your printer is connected to.  Valid
  79.           options are LPT1, LPT2 or LPT3 with LPT1 being the default.
  80.           This parameter is optional and you don't have to use it if
  81.           your printer is connected to LPT1.
  82.  
  83. To get an overview on all valid commands and values enter LJ4 -? at
  84. the DOS command prompt.
  85. Here's a complete list of all valid commands with their legal values.
  86. Please note that the letters in brackets are optional and you don't
  87. have to enter them.  Also, you don't have to enter the commands and
  88. values in capitals.
  89.  
  90.  
  91.  
  92.  ──────────────────────────────────────
  93.   Complete Command and Value Reference
  94.  ──────────────────────────────────────
  95.  
  96. RESE[T]
  97.  
  98.   This command resets all the printer settings to the factory defaults.
  99.   There is no value for this command.
  100.  
  101.  
  102. EJE[CT]
  103.  
  104.   This command empties the printer buffer.  If there is some data in
  105.   the buffer, it will be printed and the page will be ejected.  If the
  106.   buffer is empty, nothing will happen.
  107.   This is very useful if you send something to the printer and it is
  108.   not printed right away.
  109.   There is no value for this command.
  110.  
  111.  
  112. SYM[SET]
  113.  
  114.   This command changes the Symbol Set.  Currently the following values
  115.   are supported:
  116.  
  117.   ───────────────────────────────────┬─────────────────────────────────
  118.    DESKTOP: DeskTop                  │ PC8DN:   PC-8 Danish/Norwegian
  119.    ISO4:    ISO  4 English (UK)      │ PC850:   PC-850 Multilingual
  120.    ISO6:    ISO  6 ASCII             │ PC852:   PC-852 Latin 2
  121.    ISO11:   ISO 11 Swedish for Names │ PC8TK:   PC-Turkish
  122.    ISO15:   ISO 15 Italian           │ PIFONT:  Pi Font
  123.    ISO17:   ISO 17 Spanish           │ PSMATH:  PS Math
  124.    ISO21:   ISO 21 German            │ PSTEXT:  PS Text
  125.    ISO60:   ISO 60 Norwegian V1      │ ROMAN8:  Roman-8
  126.    ISO69:   ISO 69 French            │ VNINTL:  Ventura International
  127.    ISOL1:   ISO 8859/1 Latin 1       │ VNMATH:  Ventura Math
  128.    ISOL2:   ISO 8859/2 Latin 2       │ VNUS:    Ventura US
  129.    ISOL5:   ISO 8859/5 Latin 5       │ WIN30:   Windows 3.0 Latin 1
  130.    LEGAL:   Legal                    │ WINL1:   Windows 3.1 Latin 1
  131.    MATH8:   Math-8                   │ WINL2:   Windows 3.1 Latin 2
  132.    MSPUBL:  Microsoft Publishing     │ WINL5:   Windows 3.1 Latin 5
  133.    PC8:     PC-8 (Code Page 437)     │
  134.  
  135.  
  136. FON[TNUMBER]
  137.  
  138.   This command changes the Typeface.  Currently legal values range
  139.   from 0 to 70.
  140.  
  141.   This is the relation table for the LaserJet 4L:
  142.  
  143.     Fontnumber      │  Typeface
  144.   ──────────────────┼────────────────────────────────────────────
  145.     0, 1, 2, 3      │  Courier, Bd, It, Bd It
  146.     4, 5, 6         │  Letter Gothic, Bd, It
  147.     7, 8, 9, 10     │  CG Times, Bd, It, Bd It
  148.     11              │  Coronet
  149.     12, 13, 14, 15  │  Univers Md, Bd, Md It, Bd It
  150.     16, 17, 18, 19  │  Univers Md Cd, Bd Cd, Md Cd It, Bd Cd It
  151.     20, 21, 22      │  Antique Olive, Bd, It
  152.     23, 24          │  Albertus Md, XBd
  153.     25              │  Wingdings
  154.  
  155.  
  156.   This is the relation table for the LaserJets 4 and 4M:
  157.  
  158.     Fontnumber      │  Typeface
  159.   ──────────────────┼────────────────────────────────────────────
  160.     0               │  Courier
  161.     1, 2, 3, 4      │  CG Times, Bd, It, Bd It
  162.     5, 6, 7, 8      │  CG Omega, Bd, It, Bd It
  163.     9               │  Coronet
  164.     10              │  Clarendon Cd
  165.     11, 12, 13, 14  │  Univers Md, Bd, Md It, Bd It
  166.     15, 16, 17, 18  │  Univers Md Cd, Bd Cd, Md Cd It, Bd Cd It
  167.     19, 20, 21      │  Antique Olive, Bd, It
  168.     22, 23, 24, 25  │  Garamond Antiqua, Bd, It, Bd It
  169.     26              │  Marigold
  170.     27, 28          │  Albertus Md, XBd
  171.     29, 30, 31, 32  │  Arial, Bd, It, Bd It
  172.     33, 34, 35, 36  │  Times New, Bd, It, Bd It
  173.     37              │  Symbol
  174.     38              │  Wingdings
  175.     39, 40, 41      │  Courier Bold, It, Bd It
  176.     42, 43, 44      │  Letter Gothic, Bd, It
  177.     45              │  Line Printer (10U)
  178.     46              │  Line Printer (8U)
  179.     47              │  Line Printer (0N)
  180.     48              │  Line Printer (11U)
  181.     49              │  Line Printer (12U)
  182.     50              │  Line Printer (1U)
  183.  
  184.  
  185.   This is the relation table for the LaserJet 4P:
  186.  
  187.     Fontnumber      │  Typeface
  188.   ──────────────────┼────────────────────────────────────────────
  189.     0               │  Courier
  190.     1               │  Symbol
  191.     2               │  Wingdings
  192.     3, 4, 5, 6      │  CG Univers, Bd, It, Bd It
  193.     7, 8, 9, 10     │  CG Omega Bd, It, Bd It
  194.     11              │  Coronet It
  195.     12              │  Clarendon Cd Bd
  196.     13, 14, 15, 16  │  Univers, Bd, It, Bd It
  197.     17, 18, 19, 20  │  Univers Cd, Bd Cd, Cd It, Bd Cd It
  198.     21, 22, 23      │  Antique Olive Bd, It
  199.     24, 25, 26, 27  │  Garamond, Bd, It, Bd It
  200.     28              │  Marigold
  201.     29, 30          │  Albertus, XBd
  202.     31, 32, 33, 34  │  Arial, Bd, It, Bd It
  203.     35, 36, 37, 38  │  Times New, Bd, It, Bd It
  204.     39, 40, 41      │  Courier Bd, It, Bd It
  205.     42, 43, 44      │  Letter Gothic, Bd, It
  206.     45              │  Line Printer (ISO 8859/2 Latin 2)
  207.     46              │  Line Printer (ISO 8859/9 Latin 5)
  208.     47              │  Line Printer (Roman-8)
  209.     48              │  Line Printer (ISO 8859/1 Latin 1)
  210.     49              │  Line Printer (PC-8)
  211.     50              │  Line Printer (PC-8 Danish/Norwegian)
  212.     51              │  Line Printer (PC-850 Multilingual)
  213.     52              │  Line Printer (Legal)
  214.  
  215.  
  216.   If your printer is not listed, you can get the relation table by
  217.   consulting a self-test page for assistance.
  218.   You get the font numbers by numbering all available fonts, starting
  219.   with zero.
  220.   (Note: Since we don't have self-test pages from all supported
  221.          printers, we would greatly appreciate any additional relation
  222.          tables.)
  223.  
  224.  
  225. PIT[CH]
  226.  
  227.   This command changes the pitch size of non-proportional fonts like
  228.   Courier and Letter Gothic.
  229.   Legal values range from 0.44 to 99.99 and may depend on the selected
  230.   font.
  231.  
  232.  
  233. PTS[IZE]
  234.  
  235.   This command changes the point size of proportional fonts like CG
  236.   Times, Coronet and Univers.
  237.   Legal values range from 0.10 to 999.75 and may depend on the selected
  238.   font.
  239.  
  240.  
  241. FOR[MLINES]
  242.  
  243.   This command changes the number of lines per page.
  244.   Legal values are from 5 to 128.
  245.  
  246.  
  247. PAP[ER]
  248.  
  249.   This command changes the paper size.
  250.   Currently supported values are LETTER, LEGAL, EXECUTIVE, COM10,
  251.   B5, A4, C5, DL and MONARCH.
  252.  
  253.  
  254. ORI[ENTATION]
  255.  
  256.   This command changes the printing orientation.
  257.   Legal values are PORTRAIT and LANDSCAPE.
  258.  
  259.  
  260. COP[IES]
  261.  
  262.   This command sets the number of copies.
  263.   Legal values range from 1 to 999.
  264.  
  265.  
  266. MAN[UALFEED]
  267.  
  268.   This command lets you switch the manual feed on and off.
  269.   Legal values are, of course, ON and OFF.
  270.  
  271.  
  272. AUT[OCONT]
  273.  
  274.   This command turns the Auto Continue feature on and off.
  275.   As above, the legal values are ON and OFF.
  276.  
  277.  
  278. RET
  279.  
  280.   This command changes the Resolution Enhancement Technology (REt)
  281.   setting.
  282.   Legal values are OFF, LIGHT, MEDIUM and DARK,
  283.  
  284.  
  285. PAG[EPROTECT]
  286.  
  287.   This command changes the Page Protect setting.
  288.   Legal values are ON, OFF and AUTO.
  289.  
  290.  
  291. IMA[GEADAPT]
  292.  
  293.   This command lets you change the Image Adapt setting.
  294.   Legal values are ON, OFF and AUTO.
  295.  
  296.  
  297. LAN[GUAGE]
  298.  
  299.   This command lets you switch the Printer Language.
  300.   Legal values are PCL, PJL, POSTSCRIPT and HPGL.
  301.  
  302.  
  303. FUN[CTION]
  304.  
  305.   This command changes the Function Mode setting.
  306.   When the function mode is turned on, all commands that are sent
  307.   to the printer will not be executed.  When you turn it off again,
  308.   the commands that have been sent before will be shown exactly as
  309.   the printer receives it.
  310.   Legal values for this command are ON and OFF.
  311.  
  312.  
  313. MES[SAGE]
  314.  
  315.   This command displays a Message on the printer display.
  316.   The message can be up to 16 characters long, and blanks are
  317.   not supported yet.
  318.  
  319.  
  320. DEN[SITY]  (not supported by 4Si & 4 SiMX)
  321.  
  322.   This command changes the density.
  323.   Legal values range from 1 to 5.
  324.  
  325.  
  326. RES[OLUTION]  (not supported by 4L & 4ML)
  327.  
  328.   This command changes the resolution.
  329.   The legal values are 300 and 600.
  330.  
  331.  
  332. ECO[NOMODE]  (only supported by 4L, 4ML, 4P & 4MP)
  333.  
  334.   This command lets you turn the EconoMode on and off.
  335.   Legal values are, guess what, ON and OFF.
  336.  
  337.  
  338. JOB[OFFSET]  (only supported by 4Si & 4SiMX)
  339.  
  340.   This command turns the Job Offset on or off.
  341.   Legal values are, once again, ON and OFF.
  342.  
  343.  
  344. OUT[BIN]  (only supported by 4Si & 4SiMX)
  345.  
  346.   This command lets you choose the output bin.
  347.   Legal values are UPPER and LOWER.
  348.  
  349.  
  350. DUP[LEX]  (only supported by 4Si & 4SiMX)
  351.  
  352.   This command lets you turn the Duplex Printing on or off.
  353.   Legal values are, what else, ON and OFF.
  354.  
  355.  
  356.  
  357.  ────────────────────
  358.   Use In Batch Files
  359.  ────────────────────
  360.  
  361. You can easily create your own personal configuration file for your
  362. LaserJet 4 printer by using a batch file.  If you're not familiar with
  363. batch files, consult your DOS manual for more information.
  364. Use an ASCII Editor like EDIT.COM from MS-DOS to create a new file
  365. and name it MYCONFIG.BAT.  Then simply write the necessary commands
  366. in it.  That's it!
  367. If you for example have a LaserJet 4L connected to LPT2 and would like
  368. to have the PC-8 (Code Page 437) as the Symbol Set with 70 Lines per
  369. page and the EconoMode turned On by default, the batch file would look
  370. like this:
  371.  
  372. @ECHO OFF
  373. LJ4 SYM PC8 LPT2
  374. LJ4 FOR 70 LPT2
  375. LJ4 ECO ON LPT2
  376.  
  377. If you would like to have your default configuration restored, simply
  378. enter MYCONFIG at the DOS prompt.
  379.  
  380. But it's not limited to this.  With the help of the Errorlevel command
  381. you can check if an error occurred while sending the command to the
  382. printer or if anything was sent okay.
  383. The LJ4 Utility provides the following Errorlevels:
  384.  
  385.     Errorlevel  │  State
  386.   ──────────────┼────────────────────────────────────────────────
  387.         0       │  Command was successfully sent to the printer
  388.         1       │  Error: Printer is out of paper
  389.         2       │  Error: Printer is offline
  390.         3       │  Error: Printer is busy
  391.         4       │  Error: A critical or unknown error occurred
  392.  
  393.  
  394. Imagine you would like to use the above batch file but want to stop
  395. immediately if an error occurred while sending the command to the
  396. printer.  Then the file would look like this:
  397.  
  398. @ECHO OFF
  399. LJ4 SYM PC8 LPT2
  400. IF ERRORLEVEL 4 GOTO ERROR
  401. IF ERRORLEVEL 3 GOTO ERROR
  402. IF ERRORLEVEL 2 GOTO ERROR
  403. IF ERRORLEVEL 1 GOTO ERROR
  404.  
  405. LJ4 FOR 70 LPT2
  406. IF ERRORLEVEL 4 GOTO ERROR
  407. IF ERRORLEVEL 3 GOTO ERROR
  408. IF ERRORLEVEL 2 GOTO ERROR
  409. IF ERRORLEVEL 1 GOTO ERROR
  410.  
  411. LJ4 ECO ON LPT2
  412. IF ERRORLEVEL 4 GOTO ERROR
  413. IF ERRORLEVEL 3 GOTO ERROR
  414. IF ERRORLEVEL 2 GOTO ERROR
  415. IF ERRORLEVEL 1 GOTO ERROR
  416.  
  417. ECHO.
  418. ECHO Configuration successfully sent to the printer!
  419. GOTO END
  420.  
  421. :ERROR
  422. ECHO.
  423. ECHO An error occurred while sending the configuration to the printer!
  424.  
  425. :END
  426.  
  427.  
  428. If you should not be familiar with the Errorlevel command, please
  429. consult your DOS manual for more assistance.
  430.  
  431.  
  432.  
  433.  ───────────────────────────────────
  434.   Notes On The Registration Process
  435.  ───────────────────────────────────
  436.  
  437. The LJ4 Utility is released as Shareware.  This means that you may
  438. use it for two weeks, but after that period you must either register or
  439. delete it.  When you register, you will receive your Personal
  440. Registration Code (PRC) which allows you to turn your Shareware version
  441. into a registered version of The LJ4 Utility that does not contain the
  442. randomly appearing registration reminder.
  443. Once you are a registered customer, you will NEVER see this
  444. registration reminder again!  Because with your PRC you can unlock not
  445. only this version but ALL future versions of The LJ4 Utility.
  446. The registration fee is US$ 10 if you send cash or US$ 13 if you prefer
  447. sending a check (this is to cover the cashing fee).
  448. Please make sure that if you send a check you make it payable to
  449. either Tim Tschirner or Christoph Sundergeld but NOT to TASsoft.
  450. To register, print out the file LJ4.REG, fill it out, put it together
  451. with the US$ 10 or the check into an envelope and send it back to us
  452. at this address:
  453.  
  454.         TASsoft
  455.         Friedrich-Ebert-Str. 13
  456.         33602 Bielefeld
  457.         Germany
  458.  
  459. As soon as your order reaches us, we will mail you your PRC (Personal
  460. Registration Code).
  461. If you have an E-mail address, we can also send it to you via E-mail.
  462.  
  463. Caution: Don't use an Execompressor like PKLite on The LJ4 Utility,
  464.          because you won't be able to turn the Shareware Version into
  465.          the registered version afterwards.
  466.  
  467. Even if you don't want to register your copy of LJ4, we would really
  468. like to hear your comments on The LJ4 Utility!
  469. If you find a bug or have any comments, questions or problems, you can
  470. contact us at the following Internet E-mail addresses:
  471.   
  472.  1) Tim Tschirner
  473.     ittschir@techfak.uni-bielefeld.de
  474.  
  475.  2) Christoph Sundergeld
  476.     icsunder@techfak.uni-bielefeld.de
  477.  
  478.  
  479.  
  480.  ──────────────────
  481.   Legal Disclaimer
  482.  ──────────────────
  483.  
  484. This package (consisting of The LJ4 Utility and associated
  485. documentation) is Copyright (c) 1993, 1994 by TASsoft.  The software
  486. and the documentation were written by Tim Tschirner and Christoph
  487. Sundergeld (further referred to as 'The Authors').
  488. All rights reserved.  It is provided 'as is' without representation or
  489. warranty of any kind, either express or implied, including without
  490. limitation, any representations or endorsements regarding the use of,
  491. the results of, or performance of; its appropriateness, accuracy,
  492. reliability, or currentness.  The entire risk as to the use of this
  493. package is assumed by the user.  In no event will the authors or
  494. TASsoft be liable for any damages, direct, indirect, incidental or
  495. consequential, resulting from any defect in the package, even if the
  496. authors or TASsoft have been advised of the possibility of such
  497. damages.  Any and all use of this package, for any purpose, with no
  498. regard to the legality of such use or purpose, is the complete and sole
  499. responsibility of the user.  All terms are subject to change without
  500. notice.  This disclaimer shall supersede any verbal or written
  501. statement to the contrary.  Should any part or parts of this disclaimer
  502. be deemed unlawful or unapplicable, the remainder shall continue to
  503. apply.  If you do not accept these terms, you must cease using this
  504. package immediately.
  505.  
  506.  
  507. LaserJet and Hewlett-Packard are registered trademarks of the
  508. Hewlett-Packard Company.
  509. MS-DOS is a registered trademark of Microsoft Corporation.
  510. Univers is a registered trademark of the Linotype AG.
  511. PKLite is a registered trademark of PKWare.
  512. All other mentioned programs and brand names are trademarks and/or
  513. registered trademarks of their respective owners and are hereby
  514. acknowledged.
  515.  
  516.